package com.fira.edu.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 小程序-学生上课点名DTO
 * @author tony
 * @date 2021-10-13
 */
@Data
@ApiModel(value="上课点名入参",description="上课点名入参")
public class ClassRollCallDTO {
    private String id;
//    @NotBlank(message = "学生课程ID不能为空")
//    @ApiModelProperty(value = "学生课程ID", required = true)
//    private String studentCourseId;
    @NotEmpty(message = "学生ID不能为空")
    @ApiModelProperty(value = "学生ID", required = true)
    private String studentId;
    @NotEmpty(message = "课程ID不能为空")
    @ApiModelProperty(value = "课程ID", required = true)
    private String courseId;
    @NotBlank(message = "班级课程排课ID不能为空")
    @ApiModelProperty(value = "班级课程排课ID", required = true)
    private String courseScheduleId;
    @NotBlank(message = "课程课次ID不能为空")
    @ApiModelProperty(value = "课程课次ID", required = true)
    private String courseScheduleTimeId;
    @NotEmpty(message = "到课状态不能为空")
    @ApiModelProperty(value = "到课状态", required = true)
    private String toClassStatus;
    @NotEmpty(message = "本次课时不能为空")
    @ApiModelProperty(value = "本次课时", required = true)
    private String currentClassHours;
    @NotEmpty(message = "本次课程点名类型不能为空")
    @ApiModelProperty(value = "本次课程点名类型(正常排课/临时排课)", required = true)
    private String rollCallType;
}
